import request from '@/utils/request'

// 列表
export function listData(params) {
  return request({
    url: `/rank/list`,
    method: 'post',
    params
  })
}

// 添加
export function addWealth(data) {
  return request({
    url: `/rank/add`,
    method: 'post',
    data
  })
}

// 删除
export function delWealth(data) {
  return request({
    url: `/rank/del`,
    method: 'post',
    data
  })
}

// 修改
export function editWealth(data) {
  return request({
    url: `/rank/save`,
    method: 'post',
    data
  })
}
